package top.lisicheng.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.lisicheng.model.CommonResult;
import top.lisicheng.openfeign.PaymentApi;


/**
 * @author Lisicheng
 */
@RestController
public class OrderController {

    @Autowired
    private PaymentApi paymentApi;

    @RequestMapping("/order/get")
    public CommonResult get() {
        return paymentApi.get();
    }

}
